<?php
Kd_Web::getPage()->addReferenceScript('roadscript', '/pub/share/js/roads.js');

$this->setLayout('template'.DS.'default.phtml');

$this->startBlock();
echo $this->loadTemplate('share'.DS.'grid.phtml', array('grid'=>$this->grid, 'toolbar'=>$this->toolbar));
?>
<script language="javascript" type="text/javascript">
replaceRoadCode('roads_grid', null, true);
</script>
<?php
$this->endBlock();